package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmMaterialDto;
import com.heima.model.wemedia.dtos.WmNewsDto;
import com.heima.model.wemedia.dtos.WmNewsPageReqDto;
import com.heima.model.wemedia.pojos.AdNewsAuthDto;
import com.heima.model.wemedia.pojos.WmNews;

public interface WmNewsService extends IService<WmNews> {
    ResponseResult findAll(WmNewsPageReqDto dto);
    ResponseResult submitNews(WmNewsDto dto);
    ResponseResult downOrUp(WmNewsDto dto);

    ResponseResult findNews(AdNewsAuthDto dto);

    ResponseResult WmNewsDetails(Integer id);

    ResponseResult auth_fail(AdNewsAuthDto dto);

    ResponseResult auth_pass(AdNewsAuthDto dto);
}
